package com.pyk.mapper;


import com.pyk.entity.CourseCategory;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CourseCategoryMapper {
    int insert(CourseCategory courseCategory);
    void updateById(CourseCategory courseCategory);
    void deleteById(Integer courseCategory);
    void deleteBatch(List<Integer> ids);
    @Select("select * from 'coursecategory' where id=#{id}")
    CourseCategory selectById(Integer id);
    List<CourseCategory> selectAll();
    List<CourseCategory> selectPage(Integer pageNum, Integer pageSize);
}
